package com.museum.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.museum.entity.DO.Clue;
import com.museum.entity.DO.ClueRegister;
import com.museum.entity.DO.ColProcess;
import com.museum.entity.DO.ColRegister;
import com.museum.entity.DTO.QueryCol;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;


/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yznl
 * @since 2021-03-10
 */
@Repository
@Mapper
public interface ColRegisterMapper extends BaseMapper<ColRegister> {

     List<ColRegister> selectColByPage(HashMap<String, Object> map);
      @Select("select * from col_register where id = #{id}")
      ColRegister selectProcessById(Integer id);
}
